Setting up Node.js and NPM

Initial setup of Node.js and NPM and how to update them.

Initial Setup

For the initial setup, download from https://nodejs.org/

Node includes NPM (Node package manager)

Check Version

From a command line:

Check version of node

node --version

Check version of NPM

npm --version

Update Version

From a command line:

Update NPM first

npm install -g npm

Update Node

npm install -g node
Alex Orpwood Written by:

Software developing and architecting for 20 years. Satellite monitoring by day, writing my own app by night. More about me